package cn.wangwang.service.impl;

import cn.wangwang.dto.User;
import cn.wangwang.service.IUserService;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Service;

/**
 * Created by Wangwang on 2017/11/23.
 */
@Service
@EnableAutoConfiguration
public class UserServiceImpl implements IUserService {
    //@Autowired
    //private UserDao userDao;

    public User getUserInfo() {
        User user = User.create();
        user.setUserName("王望");
        user.setUserPassword("12345");
        return user;
    }
}
